package com.taotao.portal.pojo;

import com.taotao.pojo.TbItem;

public class ItemInfo extends TbItem{
	
	public String[] getImages() {
		String image=getImage();
		if(image==null)
			return null;
		image=image.trim();
		String[] strings = image.split(",");
		if(strings.length<=0)
			return null;
		return strings;
	}
	public String getFirstImage() {
		String[] images = getImages();
		if(images==null)
			return null;
		return images[0];
	}
}
